﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Web;
using System.Web.Configuration;

namespace Exam.Core {
    public abstract class FilePath {
        //config
        public static string sysConfigPath = HttpContext.Current.Server.MapPath("~/app_data/ExamSysConfig.xml");
        //课程
        public static string CourseXmlPath = HttpContext.Current.Server.MapPath("~/app_data/XMLData/courses.xml");
        //知识点
        public static string KnowledgeXmlPath = HttpContext.Current.Server.MapPath("~/app_data/XMLData/knowledges.xml");
        //难度
        public static string QuestionDifficultyXmlPath = HttpContext.Current.Server.MapPath("~/app_data/XMLData/questiondifficulty.xml");
        //题型
        public static string QuestionTypeXmlPath = HttpContext.Current.Server.MapPath("~/app_data/XMLData/questiontype.xml");
        //试题
        public static string AccessDBPath = HttpContext.Current.Server.MapPath("~/App_Data/ACCESSData/db.mdb");
        //试卷文件夹
        public static string PaperPath = HttpContext.Current.Server.MapPath("~/App_Data/Papers/");
        //考生考卷
        public static string StuExamPath = HttpContext.Current.Server.MapPath("~/App_Data/StuExam/");

        //SQL2000 数据库连接 
        public static string SQLConnectionString = "server=localhost;database=examdb;uid=sa;pwd=sa;";

    }
}
